package com.woniuxy.staffservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("sys_user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String description;
    private String address;
    private Integer deptid;
    private String hiredate;
    @TableField(exist = false)
    private String deptname;
    private String nickname;
    private String gender;
    private String status;
    @TableField("phone_num")
    private String phoneNum;
}
